package uz.edo.app.client.core;

import org.apache.wicket.Request;
import org.apache.wicket.protocol.http.WebSession;
import uz.edo.db.bean.User;

/**
 * Created by IntelliJ IDEA.
 * User: said
 * Date: 1/17/12
 * Time: 10:39 AM
 * To change this template use File | Settings | File Templates.
 */
public class MySession extends WebSession{
    private User user;

    public MySession(Request request) {
        super(request);
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public boolean isLoged(){
        return (user != null);
    }
}
